﻿<%@ Page Language="C#" MasterPageFile="~/admin/Admin.master" AutoEventWireup="true" CodeFile="Danhsachdondathang.aspx.cs" Inherits="admin_Default" Title="Untitled Page" %>

<%-- Add content controls here --%><asp:Content ID="Content1" runat="server" 
    contentplaceholderid="ContentPlaceHolder1">

            
           
               
        <form id="form1" runat="server">
        <table style="width:100%;">
            <tr>
                <td style="text-align: center">
                    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                        DataKeyNames="MaDDH" DataSourceID="SqlDataSource1" Width="599px" 
                        Height="193px">
                        <Columns>
                            <asp:BoundField DataField="MaDDH" HeaderText="Mã Đơn đặt hàng" InsertVisible="False" 
                                ReadOnly="True" SortExpression="MaDDH" />
                            <asp:BoundField DataField="TenKH" HeaderText="Tên Khách hàng" 
                                SortExpression="TenKH" />
                            <asp:BoundField DataField="NgayDatHang" HeaderText="Ngày Đặt Hàng" 
                                SortExpression="NgayDatHang" />
                            <asp:CheckBoxField DataField="TinhTrang" HeaderText="Tình Trạng" 
                                SortExpression="TinhTrang" />
                        </Columns>
                    </asp:GridView>
                    </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td style="width: 161px">
                    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:maytinhxachtayConnectionString %>" 
                        SelectCommand="SELECT * FROM [DonDatHang]"></asp:SqlDataSource>
                </td>
                <td style="width: 189px">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td style="width: 161px">
                    &nbsp;</td>
                <td style="width: 189px">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>
        </form>




</asp:Content>
